package com.atguigu.educms.service;

import com.atguigu.educms.entity.EduCourse;
import com.atguigu.educms.entity.vo.CourseInfoVo;
import com.atguigu.educms.entity.vo.CoursePublishVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author 李红磊
 * @since 2021-06-13
 */
public interface EduCourseService extends IService<EduCourse> {

    String saveCourseInfo(CourseInfoVo courseInfoVo);


    CourseInfoVo getCourseById(String courseId);

    void updateCourseInfo(CourseInfoVo courseInfoVo);

    CoursePublishVo coursePublishInfo(String id);

    void removeCourse(String courseId);//删除课程
}
